package com.bytecodezz.jc.canvastest

import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import com.bytecodezz.jc.canvastest.ui.BingDwenDwen
import com.bytecodezz.jc.canvastest.ui.CanvasView

class MainActivity : ComponentActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContent {
            Surface(
                modifier = Modifier.fillMaxSize(),
                color = MaterialTheme.colorScheme.background
            ) {
                BingDwenDwen()
            }
        }
    }


    @Composable
    fun DefaultUI() {
        Text(text = "Test...")
    }
}